package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * 患者费用概览几费用归并信息
 * Created by zhengz on 2016/3/24.
 */
@XmlRootElement(name = "generalFee")
public class GeneralFeeBean implements Serializable{
    private static final long serialVersionUID = -3570499132933218903L;
    private double totalFee;
    private double totalSelfFee;
    private String arrearageFlag;
    private double arrearageFee;
    private double prepay;
    private List<FeeMergeBean> feeMerge;

    @XmlElement
    public double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(double totalFee) {
        this.totalFee = totalFee;
    }

    @XmlElement
    public double getTotalSelfFee() {
        return totalSelfFee;
    }

    public void setTotalSelfFee(double totalSelfFee) {
        this.totalSelfFee = totalSelfFee;
    }

    @XmlElement
    public String getArrearageFlag() {
        return arrearageFlag;
    }

    public void setArrearageFlag(String arrearageFlag) {
        this.arrearageFlag = arrearageFlag;
    }

    @XmlElement
    public double getArrearageFee() {
        return arrearageFee;
    }

    public void setArrearageFee(double arrearageFee) {
        this.arrearageFee = arrearageFee;
    }

    @XmlElement
    public double getPrepay() {
        return prepay;
    }

    public void setPrepay(double prepay) {
        this.prepay = prepay;
    }

    @XmlElementWrapper(name = "feeMerges")
    @XmlElement(name = "feeMerge")
    public List<FeeMergeBean> getFeeMerge() {
        return feeMerge;
    }

    public void setFeeMerge(List<FeeMergeBean> feeMerge) {
        this.feeMerge = feeMerge;
    }
}
